﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace TruckWatch.Cloud.Models.ViewModels
{
    public class DriverLocation 
    {
        public int Id { get; set; }
        public string UserId { get; set; }
        public string Name { get; set; }
        public string TruckType { get; set; }

        public double Latitude { get; set; }
        public double Longitude { get; set; }
        public DateTime LocationReportDate { get; set; }
        public string LocationAddress { get; set; }

        public string LastStatusMessage { get; set; }

        public double DistanceToMe { get; set; }

        public override string ToString()
        {
            return Name;
        }
    }
}